package com.lyjilu.web.controller;

import org.springframework.stereotype.Controller;
import com.lyjilu.model.service.IPopUserService;

/**
 * @author Administrator
 * 
 */
@Controller
public class LoginCtrl {
	private IPopUserService userService;

	public IPopUserService getUserService() {
		return userService;
	}

	public void setUserService(IPopUserService userService) {
		this.userService = userService;
	}

//	 @RequestMapping(value = "/login/{name}/{age}", method =
//	 RequestMethod.GET)
//	 public String login_get(@PathVariable("name") String name,
//	 @PathVariable("age") int abs, HttpServletRequest request,
//	 HttpServletResponse response) {
//	 System.out.println("aaaaaaaaaaaaaaaaaaaaffffffffffffffGET" + name
//	 + "----" + abs);
//	 return "index";
//	 }
//	
//	 @RequestMapping(value = "/login/{name}/{age}", method =
//	 RequestMethod.POST)
//	 public String login_poset(@PathVariable("name") String name,
//	 @PathVariable("age") int abs, HttpServletRequest request,
//	 HttpServletResponse response, @PathVariable AnyType aaa,
//	 @RequestParam AnyType bbb, @CookieValue AnyType cookie,
//	 @RequestHeader AnyType header) {
//	 System.out.println("aaaaaaaaaaaaaaaaaaaafffffffffffffffPOST" + name
//	 + "----" + abs);
//	 return "redirect:~login";
//	 }
//	
//	 @InitBinder
//	 public void initBinder(WebRequestDataBinder binder,
//	 HttpServletRequest request) {
//	 binder.registerCustomEditor(Date.class, new CustomDateEditor(
//	 new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"), false));
//	 }
//	 @RequestMapping
//	 public void AllArguments(PrintWriter out,Map model){
//	 out.print("");
//	
//	 }
}
